package main

import "fmt"

func addBase(base int) func(int) int {
	return func(num int) int {
		return base + num
	}
}

func main() {
	base2 := addBase(2)
	base10 := addBase(10)

	fmt.Println(addBase(2)(3))
	fmt.Println(base2(1),base10(1))
}
